import request from '@/utils/request'

const prefixUrl = '';

export function getMapConfig() {
	const url = '/config/config.json'
	const data = ''
	return request.get(url, {
		prefix: prefixUrl,
		params: data
	}).then(res => {
		console.log(res);
		return Promise.resolve(res)
	})
}

export function getWidgetConfig() {
	const url = '/config/widget.json'
	const data = ''
	return request.get(url, {
		prefix: prefixUrl,
		params: data
	}).then(res => {
		console.log(res);
		return Promise.resolve(res)
	})
}